docs+feat: document A2A_NODE_ID in SKILL.md and warn when unset#164
Open
WeZZard wants to merge 2 commits intoEvoMap:mainfrom
Open
docs+feat: document A2A_NODE_ID in SKILL.md and warn when unset#164WeZZard wants to merge 2 commits intoEvoMap:mainfrom
WeZZard wants to merge 2 commits intoEvoMap:mainfrom
Conversation
A2A_NODE_ID is the canonical env var read by getNodeId() in a2aProtocol.js but was not documented anywhere in SKILL.md. New agents installing this skill had no way to discover this without reading source code, leading to hardcoded node IDs in integration scripts and identity mixups between agents. Changes: - Add Setup section: node registration flow, claim URL, env var - Add A2A_NODE_ID row to Configuration table - Emphasize: never hardcode node IDs in scripts
…rprint Without this warning, agents that forget to set A2A_NODE_ID silently get a device-fingerprint-based node ID that may change across machines or environments, causing identity mixups with no visible signal. The warning directs users to set A2A_NODE_ID and points to SKILL.md for registration instructions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A2A_NODE_IDis the canonical environment variable read bygetNodeId()insrc/gep/a2aProtocol.js, but:SKILL.md-- new agents have no way to discover it without reading source codeA2A_NODE_IDis unset,getNodeId()silently falls back to a device-fingerprint-based ID that may change across machines or environments, causing identity mixups with no visible signalChanges
SKILL.md(documentation):A2A_NODE_IDA2A_NODE_IDas first row in the Configuration table, marked requiredgetNodeId()reads the env var automaticallysrc/gep/a2aProtocol.js(code):console.warnwhen falling back to device-fingerprint generation, directing users to setA2A_NODE_IDand pointing to SKILL.mdNotes